xvor

USAGE: xvor infile outimg [-w file] [-s] [-t] [-g] [-L]

xvor constructs Voronoi diagram or Delaunay triangulation
for a set of points in the plane using Fortune's algorithm.
[Fortune 1984]

ARGUMENTS:
        infile: input filename (.vin) (ASCII)
                produced by spp or xah; assumes y-sorted
                site coordinates unless option -s invoked.
        outimg: output image filename (TIF)

OPTIONS:
   -w file : write output to file ( .vdt) as well as stdout
         -s: y-sort data in input file
         -t: perform Delaunay triangulation
         -g: debug mode
         -L: print Software License for this module
 
 

Example:

xvor coarah.vin coarvor.tif -w coarvor.vdt

coarah.vin:

178 3.000000 547.000000 1.000000 398.000000
22.000000 1.000000
18.000000 2.000000
99.000000 2.000000
64.000000 3.000000
100.000000 5.000000
145.000000 5.000000
545.000000 5.000000
198.000000 7.000000
244.000000 7.000000
340.000000 8.000000
487.000000 8.000000
448.000000 16.000000
307.000000 17.000000
276.000000 18.000000
414.000000 18.000000
391.000000 21.000000
252.000000 22.000000
etc...

coarvor.tif:

coarvor.vdt:

s 22.000000 1.000000
s 18.000000 2.000000
l 1.000000 -0.250000 19.625000
s 99.000000 2.000000
l 1.000000 0.012987 60.519482
s 64.000000 3.000000
l 1.000000 0.047619 43.095238
v 67.053574 -503.125031
l 1.000000 -0.028571 81.428574
s 100.000000 5.000000
l 0.333333 1.000000 36.666668
s 145.000000 5.000000
l 1.000000 0.065217 122.228264
etc...

executing:

imgbool coarbin.tif coarvor.tif coarvorX.tif -o X

coarvorX.tif:

Copyright (C) 1999 MLMSoftware Group, LLC.